﻿using System;
using System.Device.Gpio;
using System.Threading;
using Iot.Device.Hcsr04;
using IotDeviceToolHepler.Utils;
using Sang.IoT.SSD1306;
using SkiaSharp;
namespace IotDeviceToolHepler.Device
{
    /// <summary>
    /// hc-04蓝牙模块,通过串口读取
    /// </summary>
    public class DeviceDisplay_HC04
    {
        /// <summary>
        /// https://www.hc01.com/downloads
        /// </summary>

        public void Test()
        {
           // new UtilsSerial().getDataAndWriteString("/dev/ttyUSB0", 9600, "test");

            new UtilsSerial().getDataAndWriteString("COM8", 9600, "test");
        }
      
    }
}
